/**
 * Copyright 2017 JessYan
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.lzy.huijinjiazu.mvp.model.api.service;

import com.lzy.huijinjiazu.mvp.model.entity.BaseJson;
import com.lzy.huijinjiazu.mvp.model.entity.Home;


import io.reactivex.Observable;
import retrofit2.http.GET;

/**
 * ================================================
 * 存放通用的一些 API
 * <p>
 * Created by JessYan on 08/05/2016 12:05
 * <a href="mailto:jess.yan.effort@gmail.com">Contact me</a>
 * <a href="https://github.com/JessYanCoding">Follow me</a>
 * ================================================
 */
public interface CommonService {

    /**
     * 首页接口
     *
     * @return
     */
    @GET("index.php?act=index&op=index")
    Observable<BaseJson<Home>> getIndex();

}
